void main() {
  final p = new Person();
  p.name = '张三';
  print(p.age);
  p.eat();
}

class Person {
  String? name;
  int? age;

  void eat() {
    print('吃');
  }
}
